import request from '@/utils/request'

// 查询行业信息列表
export function listIndustryinfo(query) {
  return request({
    url: '/system/industryinfo/list',
    method: 'get',
    params: query
  })
}

// 查询行业信息详细
export function getIndustryinfo(industryId) {
  return request({
    url: '/system/industryinfo/' + industryId,
    method: 'get'
  })
}

// 新增行业信息
export function addIndustryinfo(data) {
  return request({
    url: '/system/industryinfo',
    method: 'post',
    data: data
  })
}

// 修改行业信息
export function updateIndustryinfo(data) {
  return request({
    url: '/system/industryinfo',
    method: 'put',
    data: data
  })
}

// 删除行业信息
export function delIndustryinfo(industryId) {
  return request({
    url: '/system/industryinfo/' + industryId,
    method: 'delete'
  })
}
